<!-- <template>
<view class='container'>
	  <view class='header'>
	    <navigator url="../../../../pages/index/index.vue">登录</navigator>
	  </view>
	  <form bindsubmit="formSubmit">
	    <view class='section'>
	      <text>手机号：</text>
	      <input class="inp" type='number' placeholder='手机号' name="no" value=''/>
	    </view>
	    <view class=''>
	      <text>短信验证码:</text>
	      <input password='true' placeholder='短信验证码' name="pwd" value=''/>
		  <button class="send">获取验证码</button>
	    </view>
	    <view class='button'>
	      <button type='primary' form-type='submit' @click="login">登录</button>
	    </view>
		</form>
		</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			login(){
				uni.navigateTo({
				  url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style scoped>
	/* pages/login/login.wxss */
	form{
	  width: 310px;
	  height: 240px;
	  line-height: 40px;
	  /* border: 1px solid red;  */
	}
	input{
	  border: 1px solid #ccc;
	  width: 200px;
	  height: 40px;
	}
	.inp{
		width: 300px;
	}
	.button{
	  margin-top: 20px;
	}
	.header text{
	  font-size: 25px;
	  color: #666;
	}
	form text{
	  font-size: 20px;
	  color: #666;
	}
	.fpwd{
	  margin-top: 200px;
	}
	.fpwd text{
	  color: #ccc;
	  font-size: 18px;
	}
	.send{
		color: white;
		background-color: black;
		width: 150px;
		display: block;
		margin-top: -11%;
		margin-left: 60%;
	}
	.section{
		width: 600px;
	}
	.test{
		display: inline-block;
		margin-left: 10%;
	}
</style>
 -->